home *** CD-ROM | disk | FTP | other *** search
- on mouseDown me
- set the cursor of sprite the spriteNum of me to [member "Closed Hand", member "Closed Hand Mask"]
- repeat while the stillDown
- if (the mouseV < 427) and (the mouseV > 262) then
- set the locV of sprite 7 to the mouseV
- set v1 to the mouseV - 258
- set v1 to 7 - (v1 / 23)
- set the soundLevel to v1
- put v1 into field "amplitude"
- set DV to 18 * v1
- spriteBox(3, the left of sprite 3, the locV of sprite 1 + DV - 2, the right of sprite 3, the locV of sprite 1 - DV - 2)
- puppetSound(field "frequency" & ".aif")
- updateStage()
- end if
- end repeat
- set the cursor of sprite the spriteNum of me to [member "Hand", member "Hand Mask"]
- end
-
- on beginSprite me
- set the cursor of sprite the spriteNum of me to [member "Hand", member "Hand Mask"]
- end
-
- on endSprite me
- set the cursor of sprite the spriteNum of me to 0
- end
-